package io.renren.service.impl;


import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import io.renren.dao.SchoolEvaluateDao;
import io.renren.entity.SchoolEvaluateEntity;
import io.renren.service.SchoolEvaluateService;
import org.springframework.stereotype.Service;

@Service("schoolEvaluateService")
public class SchoolEvaluateServiceImpl extends ServiceImpl<SchoolEvaluateDao, SchoolEvaluateEntity> implements SchoolEvaluateService {

    /***
     * 查找评论是否存在
     * @param paymentLogId 订单id
     * @return
     */
    @Override
    public SchoolEvaluateEntity selectByPaymentLogId(Integer paymentLogId) {
        return baseMapper.selectByPaymentLogId(paymentLogId);
    }
}
